#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"

void TestSTack()
{
	ST plist;
	STInit(&plist);
	STPush(&plist, 1);
	STPush(&plist, 2);

	while (!STEmpty(&plist))
	{
		printf("%d ", STSize(&plist));
		STPop(&plist);
	}

	STDestroy(&plist);
}


int main()
{
	TestSTack();
	return 0;
}